﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Security.Cryptography;

namespace AVCare.LMS.Models
{

    [Table("LMS_T_Files")]
    public class File
    {
        [Key]
        [Column("fileID")]
        public Guid ID { get; set; }

        public Guid FolderID { get; set; }

        [Column("fileName")]
        public string FileName { get; set; }

        [Column("isreceive")]
        public bool Received { get; set; }

        [Column("MD5")]
        public string MD5 { get; set; }

        [Column("createTime")]
        public DateTime CreateTime { get; set; }

        [Column("lastEditTime")]
        public DateTime LastEditTime { get; set; }

        [Column("size")]
        public Decimal Size { get; set; }

        [Column("owner")]
        public string UserID { get; set; }
    }
}
